﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class UserControls_GoodBrand : UCBase
{
    public UserControls_GoodBrand()
    {
        Name = "品牌专区";
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        BindData();
    }

    /// <summary>
    /// 绑定品牌
    /// </summary>
    private void BindData()
    {
        DataTable dt = null;
        int Count = 16;

        dt = new DAL.Tables.tbl_Shop_Brand().Open("top " + Count + " *", "Isuse = 1", "");

        dlBrand.DataSource = dt;
        dlBrand.DataBind();
    }

    protected void dlBrand_ItemDataBound1(object sender, DataListItemEventArgs e)
    {
        if (e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item)
        {
        }
    }

}
